package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Destination;
import cn.wolfcode.luowowo.article.domain.Region;
import cn.wolfcode.luowowo.article.query.DestinationQuery;

import java.util.List;

public interface DestinationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Destination record);

    Destination selectByPrimaryKey(Long id);

    List<Destination> selectAll();

    int updateByPrimaryKey(Destination record);

    List<Destination> getDestByDeep(int deep);

    List<Destination> selectDestByIds(Long[] refIds);

    List<Destination> queryForList(DestinationQuery qo);

    List<Destination> selectSubDestByParentId(long ParentId);

    List<Destination> queryProvince();

    List<Destination> selectByMonth(long l);

    List<Destination> queryHotDest();

    List<Destination> selectDetailAndTheme();


}